package com.example.ross.service;

import com.example.ross.common.Result;
import com.example.ross.form.UserForm;

import java.util.Map;

/**
 * @version 1.0.0
 * @className: LoginServcie
 * @description:
 * @author: zhangjunfa
 * @date: 2023/5/6 18:22
 */
public interface LoginService {

    /**
     * 用户登录
     *
     * @param userForm
     * @return
     */
    Map<String, String> login(UserForm userForm);

    /**
     * 用户退出
     *
     * @return
     */
    void logout();
}
